package com.xhl.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.xhl.vo.ProductImageVO;

@Repository
public interface IProductImageDao {
    public List<ProductImageVO> queryProductImage(@Param("id") String pid, @Param("type") String type);

    public void addProductImage(ProductImageVO pivo);

    public Long queryMax();

    public void deleteProductImage(String piid);
}
